package io.renren.modules.app.entity.dto;

import io.renren.modules.app.entity.AppProductCategoryEntity;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @author LuoShun
 * @emall Lori6166@163.com
 * @date 2021-11-3 13:25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "ProductWithChildrenDTO商品分类级联菜单数据传输对象",description = "用于商品分类下拉菜单级联数据")
public class AppProductWithChildrenDTO {

    //商品分类id
    private Long id;

    //商品分类名称
    private String name;

    //商品分类二级级联
    private List<AppProductCategoryEntity> children;
}
